package utils;


/**
 * Created by CatM on 18/1/29.
 */
public class TextUtils {
    public static boolean isEmpty(CharSequence str) {
        if (str == null || str.length() == 0)
            return true;
        else
            return false;
    }

    public static boolean notEmpty(CharSequence str) {
        return !TextUtils.isEmpty(str);
    }
}
